package com.kiku.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kiku.reggie.dto.DishDto;
import com.kiku.reggie.entity.Dish;
import com.kiku.reggie.entity.SetmealDish;
import org.springframework.stereotype.Service;

/**
 * @className: DishService
 * @description: TODO 类描述
 * @author: kiku
 * @date: 2023/10/19 21:48
 **/
@Service
public interface DishService extends IService<Dish> {
    //实现新增菜品并且插入菜品对应的口味数据
    public void saveWithFlavor(DishDto dishDto);
    //根据id查询菜品信息和口味信息
    public DishDto getByIdWithFlavor(Long id);
    //更新菜品信息和口味信息
    public void updateWithFlavor(DishDto dishDto);
}
